<?php defined('IN_DC') or exit('Access Denied'); ?><?php if(is_array($data)) foreach($data AS $n => $r) { ?>
    <li> <a href="<?php echo $r['url'];?>" class="img_link"> <img src="<?php echo $r['thumb'];?>" width="165" height="218"> </a> 
<span class="ad_link"> <a href="<?php echo $r['url'];?>"><?php echo $r['title'];?></a> </span> </li>
<?php } ?>
